<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>11-数据类型</title>
	</head>
	<body>
		<script type="text/javascript">
			//Number数字型  整型-浮点型
			var amount = 1000;
			//浮点型
			amount = 899.98;
			
			// 布尔类型 true false
			var flag = true;
			flag = false;
			
			var a = null;
			
			console.log(a)
			
			
			// Number的最大值1.7976931348623157e+308==5e-324
			var x = Number.MAX_VALUE;
			var y = Number.MIN_VALUE;
			//alert(x+"=="+y)
			
			alert(Number.MAX_VALUE*100)//Infinity
			alert(-Number.MAX_VALUE*100)//-Infinity
			
			alert('abc'-1000);//NaN
		</script>
	</body>
</html>
